<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width, target-densitydpi=medium-dpi" name="viewport">
	<link media="all" rel="stylesheet" href="http://m.web1234.woobi.co.kr/css/common.css" />
	<link media="all" rel="stylesheet" href="http://m.web1234.woobi.co.kr/css/layout.css" />
	<link media="all" rel="stylesheet" href="http://m.web1234.woobi.co.kr/css/guest_book.css" />
	<script type="text/javascript" src="http://m.web1234.woobi.co.kr/js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="http://m.web1234.woobi.co.kr/js/common.js"></script>
	<script type="text/javascript" src="http://m.web1234.woobi.co.kr/js/guest_book.js"></script>
	<script type="text/javascript"> 
		var gb_error = "0";
		if(gb_error == "1"){
			alert("비밀번호가 일치하지 않습니다.");
		}else if(gb_error == "2"){
			alert("작성자는 8자이하로 입력가능합니다.");
		}else if(gb_error == "3"){
			alert("비밀번호는 16자이하로 입력가능합니다.");
		}else if(gb_error == "4"){
			alert("작성자를 입력하세요.");
		}else if(gb_error == "5"){
			alert("비밀번호를 입력하세요.");
		}else if(gb_error == "ok"){ 
			alert("삭제되었습니다.");
		}		
	</script>
</head>
<body>
	
	<dl id="guest_book" class="guest_book">
		<dt class="c_count">
			<span>방명록 123456789개</span>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">
				<img src="http://m.web1234.woobi.co.kr/img/refresh.jpg" alt="방명록 새로고침" />
			</a>
		</dt>
		<dd class="c_list">
			<dl class="c_content"> 
				<dt id="1234">
					<span class="c_writer">홍길동</span>
					<span class="c_ip">192.168.111.111</span>
					<span class="c_date">2013.03.03</span>
					<a class="d_bt" href="#">삭제</a>	
				</dt>  
				<dd>무궁화 꽃이 피었습니다.</dd> 
			</dl>
			<dl class="c_content"> 
				<dt id="1234">
					<span class="c_writer">홍길동</span>
					<span class="c_ip">192.168.111.111</span>
					<span class="c_date">2013.03.03</span>
					<a class="d_bt" href="#">삭제</a>	
				</dt>  
				<dd>무궁화 꽃이 피었습니다.</dd> 
			</dl>
			<dl class="c_content"> 
				<dt id="1234">
					<span class="c_writer">홍길동</span>
					<span class="c_ip">192.168.111.111</span>
					<span class="c_date">2013.03.03</span>
					<a class="d_bt" href="#">삭제</a>	
				</dt>  
				<dd>무궁화 꽃이 피었습니다.</dd> 
			</dl>
			<dl class="c_content"> 
				<dt id="1234">
					<span class="c_writer">홍길동</span>
					<span class="c_ip">192.168.111.111</span>
					<span class="c_date">2013.03.03</span>
					<a class="d_bt" href="#">삭제</a>	
				</dt>  
				<dd>무궁화 꽃이 피었습니다.</dd> 
			</dl>
			<dl class="c_content"> 
				<dt id="1234">
					<span class="c_writer">홍길동</span>
					<span class="c_ip">192.168.111.111</span>
					<span class="c_date">2013.03.03</span>
					<a class="d_bt" href="#">삭제</a>	
				</dt>  
				<dd>무궁화 꽃이 피었습니다.</dd> 
			</dl>		
			<!-- <span class="no_guest_book">등록된 글이 없습니다.</span> -->
		</dd>
		
		<dd class="c_pagging">
			<a href="http://m.web1234.woobi.co.kr/guest_book.php?gb_page=1">
				<img src="http://m.web1234.woobi.co.kr/img/pagging_f.gif" alt="처음 페이지" />
			</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">
				<img src="http://m.web1234.woobi.co.kr/img/pagging_p.gif" alt="이전 페이지" />
			</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php" class="active">1</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">2</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">3</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">4</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">5</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">6</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">7</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">8</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">9</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">10</a>
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">
				<img src="http://m.web1234.woobi.co.kr/img/pagging_n.gif" alt="다음 페이지" />
			</a> 
			<a href="http://m.web1234.woobi.co.kr/guest_book.php">
				<img src="http://m.web1234.woobi.co.kr/img/pagging_l.gif" alt="마지막 페이지" />
			</a>
		</dd>
		
		<dd class="c_reg">
			<form action="http://m.web1234.woobi.co.kr/guest_book.php" method="post">
				<input type="hidden" id="mode" name="mode" value="i" />
				<dl>
					<dt>작성자 :</dt>
					<dd><input type="text" id="writer" name="writer" class="t1" maxlength="8" /></dd>
				</dl> 
				<dl>
					<dt>비밀번호 :</dt>
					<dd><input type="password" id="password" name="password" class="t1" maxlength="16" /></dd>
				</dl>
				<textarea id="c_txt" name="c_txt" wrap="hard"></textarea>
				<input type="submit" id="c_reg_bt" value="등록" />
			</form>
		</dd>
	</dl>
	
	<div id="d_form" class="hidden"></div>
	
</body>
</html>